package cn.sciento.starter.keyencrypt.core;

import com.fasterxml.jackson.annotation.JacksonAnnotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@JacksonAnnotation
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER})
public @interface Encrypt {
  String value() default "";
  
  String fieldName() default "";
  
  String[] ignoreValue() default {};
  
  boolean ignoreUserConflict() default false;
}
